<%--
  Created by IntelliJ IDEA.
  User: TianyuChen
  Date: 2020/4/11
  Time: 19:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>img-management</title>
</head>
<body>
    <table border="1">
        <tr>
            <th>图片</th>
            <th>操作</th>
        </tr>
    <c:forEach items="${list}" var="img">
        <tr>
            <td><img src="${img.path}" width="100" height="100"/><br/></td>
            <td><a href="delete?id=${img.id}">删除</a> </td>
        </tr>
    </c:forEach>
    </table>
</body>
</html>
